from django.contrib import admin

# Register your models here.
from main.models import Forks, Articels,Remarks,ContentImages


@admin.register(Forks)
class ForksAdmin(admin.ModelAdmin):
    class Meta:
        list_display = ["pk", "forkName", "add_time"]


@admin.register(Articels)
class ArticelsAdmin(admin.ModelAdmin):
    class Meta:
        list_display = ["pk", "forkby", "title", "content", "add_time", "contentimages"]

@admin.register(Remarks)
class RemarksAdmin(admin.ModelAdmin):
    class Meta:
        list_display = ["pk","title","content", "add_time"]

@admin.register(ContentImages)
class ContentImagesAdmin(admin.ModelAdmin):
    class Meta:
        list_display = ["pk","owner","iamges", "add_time"]